//
//  UIBarButtonItem+Extension.h
//  SINA
//
//  Created by 王相超 on 16/3/28.
//  Copyright © 2016年 chuanzhi. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (Extension)

//通过一张图片返回一个按钮
+(instancetype)itemWithImageName:(NSString *)imageName target:(id)target action: (SEL)action;

//通过一张图片 与 文字 返回一个按钮
+(instancetype)itemWithImageName:(NSString *)imageName title:(NSString *)title target:(id)target action: (SEL)action;
@end
